
import { createStore } from 'vuex'

//引入小仓库
import user from '@/store/user'
import session from '@/store/session'
import goods from '@/store/goods'
import publish from '@/store/publish'
import together from '@/store/together'
//创建并暴露仓库,并在main.js中使用store插件
export default createStore({
    modules:{
        user:user,
        session:session,
        goods:goods,
        publish:publish,
        together:together
    }
})